package com.bgy.model;

import java.util.List;

import com.jfinal.log.Log;
import com.jfinal.plugin.activerecord.Model;

/**
 * 授权获取到的用户信息
 * @author Hegx
 */
public class MeetingRoom extends Model<MeetingRoom> {
	private static final long serialVersionUID = 6204222383226990020L;
	static Log log = Log.getLog(MeetingRoom.class);	
	public static final MeetingRoom me = new MeetingRoom();
	
	
	public List<MeetingRoom> getAll(){
		return me.find("select * from mms_meetingroom");
	}
	
	public MeetingRoom findByXh(String xh){
		return me.findFirst("select * from mms_meetingroom where xh=?",xh);
	}
}

